package poliakov.spring.advertisement.pojo;

import java.util.Date;

public class PPAadvertisement implements IAadvertisement {
	private int advID;
	private int categoryID;
	private int cityID;
	private Date publication_date;
	private String text;
	
	public int getAdvID() {
		return advID;
	}
	public void setAdvID(int advID) {
		this.advID = advID;
	}
	public int getCategoryID() {
		return categoryID;
	}
	public void setCategoryID(int categoryID) {
		this.categoryID = categoryID;
	}
	public int getCityID() {
		return cityID;
	}
	public void setCityID(int cityID) {
		this.cityID = cityID;
	}
	public Date getPublication_date() {
		return publication_date;
	}
	public void setPublication_date(Date publication_date) {
		this.publication_date = publication_date;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	@Override
	public String toString() {
		return "PPAadvertisement [advID=" + advID + ", categoryID="
				+ categoryID + ", cityID=" + cityID + ", publication_date="
				+ publication_date + ", text=" + text + "]";
	}
}
